package com.qlh.camera.rgb;

/**
 *作者：QLH on 2020-04-28
 *描述：处理浮点型数据格式
 */
public class DoubleUtil {

    public static int Retain_Five = 100000;
    public static int Retain_Two = 100;

    public static double formatDouble(double number,int retainCount){
         return (double) Math.round(number * retainCount) / retainCount;
    }
}